//
//  PLVLiveWarmPlayer.h
//  rzc_app
//
//  Created by 孙磊 on 2019/9/9.
//  Copyright © 2019 Facebook. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <IJKMediaFramework/IJKMediaFramework.h>
#import <PLVLiveAPI/PLVLiveAPI.h>
NS_ASSUME_NONNULL_BEGIN

@interface PLVLiveWarmPlayer : UIView
// 回调
@property (nonatomic, copy) void(^playCoverEnd)(void);
@property (nonatomic, copy) void(^playCoverBegin)(void);
@property (nonatomic, copy) void(^coverImageBeClickedBlock)(NSString *coverHref);
- (instancetype)initWithVid:(NSString *)vid displayView:(UIView *)displayView;
- (void)play;
- (void)pause;
- (void)clearPlayer;
- (void)setOrientationPortrait;
- (void)setOrientationLandscape;
- (void)switchToFullScreen:(BOOL)fullScreen;
@end

NS_ASSUME_NONNULL_END
